package org.ahuanlien.crm.mapper;

import java.util.Date;
import java.util.List;
import org.ahuanlien.crm.domain.Attendance;
import org.ahuanlien.crm.domain.Employee;
import org.ahuanlien.crm.query.StaffManagementQueryObject;
import org.apache.ibatis.annotations.Param;

public interface AttendanceMapper {

    int insert(Attendance record);

    int query4Count(StaffManagementQueryObject qo);

    List<Attendance> query4List(StaffManagementQueryObject qo);

    List<Attendance> getAttendByEmpId(String username);

    void singout(@Param("id") Long id, @Param("date") Date date);


}